/*************************************************************************
> File Name: person.hpp
> Author: hzy
> Created Time: 2023-08-17 11:49:38
> Description:
************************************************************************/
#include <iostream>
using namespace std;

class Person
{
private:
    string name;
    int age;

public:
    Person(string myname, int myage);

    Person();

    void setName(string myname);
    void setAge(int age);

    string getName();
    int getAge();

    Person &operator=(const Person& other);

    friend ostream &operator<<(ostream &os, const Person &person);
    
};
